<div class="contenedorTabla">
  <div class="contenedorTablaHeader">
    <span class="tituloTabla">RT'S</span>
    <ul class="labelTable">
      <!--li><span class="label label-azul">4 Items</span></li-->
      <li>
        <div class="searchInput">
          <i class="icon icon-search"></i>
          <input type="text" class="search-query search" placeholder="Busqueda de RT"/>
        </div>

        <div class="tableButtonNew">        
          <%= link_to seleccionar_cliente_url("new"), :method => :get, :rel => "tooltip", "data-placement" => "top", "data-original-title" => "Agregar RT" do %>
              <i class="icon-plus icon-white"></i>
          <% end %>
        </div>
      </li>
    </ul>
  </div>


  <div class="contenedorTablaCuerpo">
    <table id="tblData" class="table table-striped table-bordered table-hover table-clientes">
      <thead>
          <tr>
            <th>Numero</th>
            <th>Tipo Entrada</th>
            <th>Destino</th>
            <th>Fecha Recepción</th>
            <th>Hora</th>
            <th>Cliente</th>
            <th></th>
          </tr>
      </thead>

      <tbody>
        <% @receiving_tickets.each do |receiving_ticket| %>
          <tr>
            <td><%= link_to receiving_ticket.Numero, receiving_ticket %></td>
            <td><%= receiving_ticket.IdTipoEntrada %></td>
            <td><%= receiving_ticket.IdDestino %></td>
            <td><%= receiving_ticket.FechaRecepcion %></td>
            <td><%= receiving_ticket.Hora %></td>
            <td><%= receiving_ticket.IdCliente %></td>
            <td>
                <%= link_to edit_receiving_ticket_path(receiving_ticket), :rel => "tooltip", "data-placement" => "top", "data-original-title" => "Editar", :class => "btn btn-mini" do %>
                    <i class="icon-pencil"></i>
                <% end %>
                <%= link_to receiving_ticket, :method => :delete, :data => { :confirm => '¿Seguro que desea eliminar la RT?' }, :rel => "nofollow", "data-placement" => "top", "data-original-title" => "Eliminar", :class => "btn btn-mini btn-danger"  do %>
                    <i class="icon-trash icon-white"></i>
                <% end %>
            </td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>

  <div class="footerTabla">
  </div>
</div>


